﻿using System;

namespace Model
{
    /// <summary>
    /// 实体类MessageInfo
    /// </summary>
    [Serializable]
    public partial class MessageInfo
    {
        #region 属性

        /// <summary>
        /// 
        /// </summary>
        public int RID { get; set; }

        /// <summary>
        /// 所属人RID
        /// </summary>
        public int Uid { get; set; }

        /// <summary>
        /// 功能ID，见功能定义
        /// </summary>
        public string FunID { get; set; }

        /// <summary>
        /// 消息标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 写入时间
        /// </summary>
        public string CDate { get; set; }

        /// <summary>
        /// 读取时间：有值代表已读
        /// </summary>
        public string RDate { get; set; }

        #endregion

        #region 构造函数
        public MessageInfo()
        {
            this.RID = 0;
            this.Uid = 0;
            this.FunID = string.Empty;
            this.Title = string.Empty;
            this.Message = string.Empty;
            this.CDate = string.Empty;
            this.RDate = string.Empty;
        }
        #endregion
    }
}
